package chap02;

public class Test{
    public static void main (String[] args) {
          boolean x = true;
          boolean y = false;
          short z = 42;
          //boolean w=(y==true);
          //System. out.println("w=" + w);
          if((z++==42)&&(y=true))
                 z++;
          
          //System. out.println("z=" + z);
          if ((x = false) || (++z == 45))
                 z++;
          System. out.println("z=" + z);
}

}